import { Route, Routes } from "react-router-dom"
import { HistoryRouter, history } from '@/utils'
import HelloWorld from "@/pages/HelloWorld"
import SketchNodeText from "@/pages/SketchNodeText"
import Elephant from "@/pages/Elephant"
import FireBall from "@/pages/FireBall"
import PigHead from "@/pages/PigHead"

function App () {
    return (
        <HistoryRouter history={history}>
            <Routes>
                <Route path='/' element={<HelloWorld />} />
                <Route path='/elephant' element={<Elephant />} />
                <Route path='/frozen' element={<SketchNodeText />} />
                <Route path='/fireball' element={<FireBall />} />
                <Route path='/pig' element={<PigHead />} />
                <Route path='/hello' element={<HelloWorld />} />
            </Routes>
        </HistoryRouter>
    )
}

export default App
